package com.itcat.service;

import com.itcat.common.CommonPage;
import com.itcat.mysql.pojo.UmsResource;

import java.util.List;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Cr Mr]
 * @version : [v1.0]
 * @date : [2022/4/3 19:24]
 */
public interface UsmResourceService {
    void create(UmsResource umsResource);

    CommonPage<UmsResource> list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageNum, Integer pageSize);

    void delete(Long id);

    List<UmsResource> listAll();

    void update(Long id, UmsResource umsResource);

    UmsResource resource(Long id);
}
